#ifndef DIAGRAM_H
#define DIAGRAM_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>

QT_BEGIN_NAMESPACE
namespace Ui { class Diagram; }
QT_END_NAMESPACE

class Diagram : public QWidget
{
    Q_OBJECT

public:
    Diagram(QWidget *parent = nullptr);
    ~Diagram();

private:
    Ui::Diagram *ui;


public slots:
    void moveGO(QPoint point);
};
#endif // DIAGRAM_H
